]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Simplify detecting added dialogs after closing a window
authorverdre <gitlab@v0yd.nl>
Tue, 19 Jun 2018 10:45:18 +0000 (12:45 +0200)
committerverdre <gitlab@v0yd.nl>
Thu, 2 Aug 2018 22:09:02 +0000 (00:09 +0200)
commitda2fc2c9d3135d59bb355e739f24d540f844fb3d
treee3fa81f6d619bca4c44c0a8097652179487955c3
parent52cbc299a795b4573a7558982115354cfa7a4e61
workspace: Simplify detecting added dialogs after closing a window

When trying to close a window in the overview by clicking the close
button and the window doesn't get closed but a dialog is added to the
window afterwards, we close the overview and show the dialog.

Instead of adding a separate listener for the window-added signal to the
WindowOverlay, let the WindowClones remember that the close button was
pressed and activate themselves if a dialog is added after that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/180
js/ui/workspace.js